﻿using Telerik.Sitefinity.Social.Resources;
using Telerik.Web;

namespace Telerik.Sitefinity.Social.UI.Frontend
{
    /// <summary>
    /// Toolbox item which represents the login view control
    /// </summary>
    public class LoginViewToolboxItem : ToolboxItem
    {
        /// <summary>
        /// Initializes a new instance of LoginViewToolboxItem class and sets DisplayName and Description
        /// properties for the LoginView control. 
        /// </summary>
        public LoginViewToolboxItem()
            : base(typeof(LoginView))
        {
            base.DisplayName = Messages.LoginViewControl_DisplayName;
            base.Description = Messages.LoginViewControl_Description;
            base.Section = Messages.SocialSectionName;
        }
    }
}
